﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Entity.Admin
{
    [MetadataType(typeof(RoleMetadate))]
    public partial class Role
    {
        class RoleMetadate
        {
            [HiddenInput(DisplayValue = false)]
            public string ID { get; set; }

            [Required]
            [Display(Name = "角色名", Order = 1)]
            public string RoleName { get; set; }

            [Display(Name = "备注", Order = 1)]
            public string RoleMemo { get; set; }
        }
    }
}
